package com.gzx.spring.apis.service;

import org.springframework.stereotype.Service;

import com.gzx.risk.core.apis.command.ApiCommand;
import com.gzx.risk.core.apis.context.ApiContext;
import com.gzx.risk.core.apis.result.RiskResult;

import jakarta.annotation.Resource;
import lombok.extern.slf4j.Slf4j;

@Service
@Slf4j
public class JishuEd006_v1Service implements ApiCommand {
	@Resource
	private JishuService jishuService;

	@Override
	public RiskResult exec(String groupName, ApiContext ctx) {
		return ApiExec.exec(this, "ed006_v1", () -> {
			return jishuService.ed006_v1(groupName, ctx);
		});
	}

	@Override
	public int getGroupId() {
		return 6;
	}

}
